home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part II.srd / Part II.srd.rsrc / PICT_13.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  133KB  |  816x1056  |  8-bit (256 colors)
Labels: text | font | black and white | document | ink | letter | paper
OCR: Chapter 2-Classes and objects H- fields in an object and a structure that the Toolbox recognizes. The Toolbox structure might only be a subset of the entire body of data in thejedt, as it is in the case of class Window. In defining a new class that calls a Toolbox routine, you will often need to map the layout of the class's data structure to mirror a Toolbox data structure (Toolbox data structures are listed at the end of each section o Inside Macintosh To map the data such that the Toolbox will be able to use it properly, define all of the Integer or Char fields as Int ivars, and all Long (32-bit) or Pointer fields as Var ivars, and remember to use record { ... } around the whole group of ivars. If there is a section of the data record that you will not need named access to (e.g ., data ...